package com.frxuexi.report

import com.frxuexi.lib_base.entity.ApiResponse
import kotlinx.coroutines.flow.Flow
import okhttp3.RequestBody
import retrofit2.http.Body
import retrofit2.http.POST

interface ApiService {

    @POST("/report/selReport")
    fun getReports(@Body body: RequestBody):Flow<ApiResponse<List<ReportEntity>>>

    @POST("/report/addReport")
    fun addReport(@Body body: RequestBody):Flow<ApiResponse<Any>>
}